package com.example.JPetStore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("orders")
@Data
public class Order {
    @TableId(value = "order_id",type = IdType.AUTO)
    int orderId;
    @TableField(value = "user_id")
    String userId;
    @TableField(value = "item_Id")
    String  itemId;
    @TableField(value = "item_introduction")
    String itemIntroduction;
    @TableField(value = "address")
    String address;
    @TableField(value = "order_phone")
    String  orderPhone;
    @TableField(value = "delivery_name")
    String  deliveryName;
    @TableField(value = "total_price")
    String totalPrice;
    @TableField(value = "order_timestamp")
    String orderTimestamp;
    @TableField(value = "item_price")
    String itemPrice;
    @TableField(value = "item_number")
    String itemNumber;
    @TableField(value = "payment_method")
    String paymentMethod;


}
